How to CHMOD in win 7

martin123

New member
Member
Local time
6:28 PM
Messages
39
I have installed some software for hosting my own file sharing system

but i need to CHMOD some of the folders

am i right in thinking you cant CHMOD files on win 7 ?

if it can be done any clues how

all google brings up is posts saying you dont need to when on win 7
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
linux here i come lol
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
attrib
 

My Computer My Computer

At a glance

Windows 10 Pro x64 ; Xubuntu x64Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz16GB Corsair Vengance DDR3 @ 661 MHz Dual Cha...EVGA NVidia GTX 560 1024MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Tried that it failed

linux seems to be the only real way with out the hassles

its only on a machine thats acting as a server
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
chmod is a command that changes the mode of a file. That pretty much sets the permissions. I don't see why you would have to use Linux or chmod exclusively to make this happen.

It sounds like you have some software that is linux based...and for that, you will need to be running a Linux machine.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Q9550 2.83Ghz OC'd to 3.40Ghz8GB G.Skill PI DDR2-800, 4-4-4-12 timingsEVGA 1280MB Nvidia GeForce GTX570
Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.
Am I missing something or can you not achieve the same effect as CHMOD by right clicking on the file and select "properties","security" tab, "advanced"? You may be able to achieve what you want just going as far as the "security" tab bit but there is greater flexibability under advanced. Word of caution though... make sure you don't lock youself out of the file!!
 

My Computer My Computer

At a glance

win7
OS
win7
Most hosting software is linux based but does allso function ok on windows

the creater of the software used ftp to access my files but failed to chmod them as win 7 just reverterd them back to readable only

He also has customers using his software on win 7 machine with no problems at all

i have spent hours playing with the permmision and security tabs but it fails :confused:

so i figure the answer is to put linux on my hosting machine and run it from there

and put the software on my machine and make a virtual site on my win 7 and play some more
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
Have you tried installing Cygwin on your Win machine?
 

My Computer My Computer

At a glance

win7
OS
win7
He also has customers using his software on win 7 machine with no problems at all

i have spent hours playing with the permmision and security tabs but it fails :confused:
Thats suggests something different between your Win7 and the customers. Have you tried turning UAC off?

Cygwin would also do the trick.
 

My Computer My Computer

At a glance

Windows 10 Pro x64 ; Xubuntu x64Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz16GB Corsair Vengance DDR3 @ 661 MHz Dual Cha...EVGA NVidia GTX 560 1024MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Right click on the file or folder and edit the security permitions for the relevant user.
 

My Computer My Computer

At a glance

Windows 11
Computer type
PC/Desktop
OS
Windows 11
Uac is always off lol and for Cygwin il google it to find out what that is
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
Cygwin is great....its like a Windows version of CShell. Hopefully you can chmod +rw *.*
 

My Computer My Computer

At a glance

Windows 10 Pro x64 ; Xubuntu x64Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz16GB Corsair Vengance DDR3 @ 661 MHz Dual Cha...EVGA NVidia GTX 560 1024MB
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
As far as I understand, Cygwin is not a magical way to run Linux. It does contain all usual Unix commands in it, but it is an emulator layer and thus the file system remains Windows-based. Thus chmod is rather limited in its use. In earlier versions of Cygwin it was totally useless, I am not sure about the latest version, but I do not think it is able to actually edit native Windows permissions. And clearly that's what you want to do, edit permissions. Thus, as pointed out by z3r010, you just need to edit permissions for the relevant user to access files in question.

Note, that this "relevant user" is not necessarily you. I do not know what software you are using but the very same Cygwin, in order to create a ssh server needs to create a special user account. This user would need to be able to access files as well. Maybe you've got something like this there.

The simplest thing, if this is your home server and security is not the top priority, is to simply allow access to the files or folders in question to "Everyone" (without quotes of course). This would completely eliminate any permissions-related problems.
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
As far as I understand, Cygwin is not a magical way to run Linux. It does contain all usual Unix commands in it, but it is an emulator layer and thus the file system remains Windows-based. Thus chmod is rather limited in its use. In earlier versions of Cygwin it was totally useless, I am not sure about the latest version, but I do not think it is able to actually edit native Windows permissions. And clearly that's what you want to do, edit permissions. Thus, as pointed out by z3r010, you just need to edit permissions for the relevant user to access files in question.

Note, that this "relevant user" is not necessarily you. I do not know what software you are using but the very same Cygwin, in order to create a ssh server needs to create a special user account. This user would need to be able to access files as well. Maybe you've got something like this there.

The simplest thing, if this is your home server and security is not the top priority, is to simply allow access to the files or folders in question to "Everyone" (without quotes of course). This would completely eliminate any permissions-related problems.


Il have another play on my win 7 machine if any one want to try out the software im using to see how it goes pm me as i cant put a link in as you need to buy the download link not the software here is what the software looks like when installed Rapidsendit - 1-Click File Host (Powered By Rapidsendit Clone)

mine looks just like it but with error messages about file permissions

here is the error

Warning: fopen(./storagedata/.) [function.fopen]: failed to open stream: Permission denied in C:\xampp\htdocs\upload.php on line 46

no matter how i set permissions its always the same error
 
Last edited:

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
And before you attempt to change the permissions, you may need to log in as a true administrator on your win7 box.
 

My Computer My Computer

At a glance

Windows 7 Ultimate 64bitAMD X2 64bit2GBATI 4350
Computer Manufacturer/Model Number
HP Pavilion a1540n
OS
Windows 7 Ultimate 64bit
CPU
AMD X2 64bit
Memory
2GB
Graphics Card(s)
ATI 4350
Monitor(s) Displays
Samsung SyncMaster T260HD
Martin, if you set your files accessible to Everyone and you still get the same error, then check whether your firewall (Windows Firewall or whatever Internet Security you are running) allows your software to access your system. In addition, if you are using a router, make sure that you have set the port forwarding properly. If any of these are not your problem, you may want to make sure that that's the case by trying to access at least something by this software - I do not recall now, is your problem with specific files or with the connection in general.
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
its just 2 folders the machine that host has the firewall turned off

the router is set as i was hosting my own forum and the said machine is also infront of the router in DMZ

all connections are fine just 2 folders need to be set to 777 and a few .txt need to be set to 777

(the .txt are set with no problems)
 

My Computer My Computer

At a glance

Microsoft Windows 7 Ultimate 64-bit 7601 Mult...AMD Athlon(tm) II X4 645 Processor12.00 GBATI Radeon HD 4250
Computer Manufacturer/Model Number
acer aspire x3450
OS
Microsoft Windows 7 Ultimate 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD Athlon(tm) II X4 645 Processor
Motherboard
Acer Aspire X3450
Memory
12.00 GB
Graphics Card(s)
ATI Radeon HD 4250
Sound Card
(1) AMD High Definition Audio Device (2) High Definition A
Screen Resolution
1680 x 1050 x 32 bits (4294967296 colors) @ 59 Hz
Hard Drives
(1) WDC WD4000BEVT-00ZAT0 ATA Device 372.61 GB (2) SiImage SCSI Disk Device 1.82 TB (3) Generic- Compact Flash USB Device (4) Multiple Flash Reader USB Device
Did you try to give full control of the said 2 folders to Everyone?
 

My Computer My Computer

At a glance

Windows 7 Ultimate (x64)Q66008 GBATI Radeon HD 2600 XT
Computer Manufacturer/Model Number
Dell Inspiron 530
OS
Windows 7 Ultimate (x64)
CPU
Q6600
Memory
8 GB
Graphics Card(s)
ATI Radeon HD 2600 XT
Monitor(s) Displays
Samsung Syncmaster P2450
Screen Resolution
1920x1080
Hard Drives
Samsung HD103UJ
Samsung HD501LJ
Internet Speed
25 Mb/s
Back
Top