Server :: Write Permission For Users On NFS Folder?
Dec 28, 2010
I have setup a NFS server and this the content of /etc/exports at the server with IP A.B.C.D1 is:/home/shared A.B.C.D2(rw,no_root_squash)Problem is, only the root at A.B.C.D1 and A.B.C.D2 can write to that folder.
I Have Configure Samba server in Centos, I need give permission like for some user(5User) can able to read and write the particular folder, and again i need give some another user(6user) can only read permission for same folder.
I'm having an odd problem (although I'm probably missing something obvious to a non-semi-newbie):I have a directory used for samba shares which is owned by user fred, a system user which the windows clients on my network authenticate with to access the shares. I, roger, want to access the directories without having to put my 'sudo boots' on every time, so I made the directory group users and added roger to that group, and changed the file/folder modes from 0755 to 0775.However I still do not have write permissions inside the directory; I still seem to be considered 'other' and hence only have read and execute.
There is a folder that is owned by user tomcat6: drwxr-xr-x 2 tomcat6 tomcat6 69632 2011-05-06 03:43 document. I want to allow another user (ruser) write permissions on document folder. The two users (tomcat6 and ruser) does not belong to same group. I have tried using setfacl: sudo setfacl -m u:ruser:rwx document
but this gives me setfacl: document: Operation not supported error.
I've setup a FTP server in OpenSUSE 11.1 with KDE 3.5.x. (Pure-ftpd) But when I connect with an user to the FTP server I can browse to all folders on the OPENSUSE system, how can I setup one folder for all users and restrict the FTP connection to that folder only??
Following the last update bringing kmail 2.0.89 it does not start any more. I get a popup signaling a fatal error : "no read/write permission to your inbox folder". But these permissions have not changed. And even if I move away the Mail folder and try to start kmail I get the same message.
This kmail version given by YAST is : 4.5.80-261.1
My boss give me a task :We have a FTPServer using VsFTP , with each of user get one home dir to upload.But now , he have a folder Projects...This folder can be Read-Write permission for Bob and Peter...Read only with Jeni , ZaoChing, Richo , no anonimous access !
I've been reading for a while about samba but I haven't found a solution to my problem yet.I'd like to know if, the configuration I have in mind, is possible at all ("security = user" is what I'm using now).I want a directory to be: 1) read only for guests and some UNIX users; 2) write for some other UNIX users.
The advantage of this configuration would be that every single user in my LAN (with or without a UNIX account) would be able to read the content of the shared directory Music and I (UNIX user andrea) could manage the folder directly trough samba preserving the correct owner/group and permissions on the new files/folder created.
Notes about my configuration above: 1) as it is now every user gets authenticated by samba as nobody so even I (andrea) cannot write in it; 2) commenting out the line "guest ok = yes" I can authenticate as "andrea" and write in it but guest access is not possible any longer.
i added users to the group om PDC after it i shared folder on linux server and given permission for users from this group, the folder is showed correct. After it i removed users from group, but the folder is accessible. Where is mistake?
[global] workgroup = STSCOMPANY password server = *
I have a Ubuntu 10.10 server; I have created several users and wish them to have their own web space (with a unique domain name for each). I have therefore created www folders within their home folder and created new Virtual Servers to host each domain name and point to the users www folder in their home folder. They can then use an FTP client to upload files. This all works well.
However, I would like to stop a user from going back up a level and traversing the tree.They can currently go back up to /home and see other users names.
I work for a school district. We are running in a Windows environment with a Windows domain. It was asked of me if I could get an Ubuntu system on our domain and running without issue, as we would like to tinker with the idea of slowly introducing Ubuntu systems to the network.I have a test system here. I added it to the domain using Likewise-Open. I have Samba installed, etc. Here's the next curve ball that I need answered.All user documents are stored in their individual shares on the same Windows server. In Windows, we use re-directed My Documents, so their My Documents actually points to \serverusersob_dole instead of C:/Documents and Settings/Bob Dole/My Documents.
How can we do this in Ubuntu? I don't care if it re-maps the home directory or creates a folder on the desktop that is linked. Either way, I want to log in to ANY Ubuntu system and blam - I have a link to \windowsserverusersmy_share. I want any user on the domain to be able to do that to any Ubuntu system and have a link to THEIR folder on the Windows server.
I need to write a shell script which can ready content of the folder and place files on remote FTP server. I need to make sure that a file that is already placed on remote FTP server is not attempted second time. The file names will be something like Records-2011-05-09. The files will be generated by MySQL every hour.
I tried to read the File Permissions page on the wiki and my eyes glazed over after about three sentences. I've got a folder called /var/www/pics that I just want to be able to save image files to. My only other choice as I understand it is to save them to my home folder, then use a "sudo mv" command to copy files to that directory. How do I give my account permissions to save a file in that directory?
i have client and server PCs, both with openSuse 11.2.
on the server side, i have mounted HD partition to /vmshare dir. relevant line in /etc/fstab reads:
Code: /dev/disk/by-id/ata-WDC_WD3200AAJS-07B4A0_WD-WCAT16493946-part2 /vmshare reiserfs user,acl 1 2 i want to export /vmshare dir via nfs. i have configured it through yast and resulting line in /etc/exports reads: Code: /vmshare *(rw,root_squash,sync,no_subtree_check,crossmnt) the permissions for this directory is drwxrwxr-x root vmshare.
i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can't write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.y.
How do I use "chmod" command so that it allows me to write a file inside a certain directory ? This directory has permissions in the formdrwxr-xr-xOnce I try to write a file there, it says "Permission denied" ! Don't advise to use "sudo", since the file is created by some executable program compiled from a source code. If I was creating the file myself, I wouldn't have gone to this forum.
cat /etc/fstab mount ps -A ls -al /media/ dmesg groupsfootnotes
My problem: When plugging in a pen drive it will be automounted, but only root (who owns it) has write access to it. Other users only have write access. (Neither my user, nor an unmodified test user)
My aim: I want to be able to write on my pendrive without any additional manual work after plugging it in (iirc that is default on a standard ubuntu install).
Possible causes: I once had a time where I wanted everthing to be minimal. Might be, that I removed something in connection with my problem. I reinstalled everything that came to my mind and could be connected to that problem w/o success. I merely removed stuff than editing stuff (never touched /etc/fstab or /etc/udev/rules.d/*). S So I think I am missing some kind of service, that manages my (user?) permissions or so.
I use: Ubuntu 10.04 (initially a kubuntu but I remove nearly everything Qt/KDE stuff) fluxbox (but most gnome services are active).
I tried/checked: check my automount setting - did not change the behaviour media_automount - is checked media_automount_open - is checked usbmount - is installedntfs-config - did not help (even after reboot) manual mount - worked, but i don't want to do that everytime I plug in a pendrive gksudo users-admin (made sure that amongs others the following entries are checked) Access external storage devices automatically Administer the system Mount user-space filesystems (FUSE)
I didn't try: chmod - seems to be only used for ext* fs edit /etc/fstab - seems not to be supposed for such variable things like pendrives - changing file systems for same pendrive - different number of pen drives - every pendrive needs its own fstab entry udev rules - I was told to write some, but I am reluctant because- I never did that before (so I also didn't mess them up)
Additional info: Code: benedict@box:~$ cat /etc/fstab # /etc/fstab: static file system information. # Use 'blkid -o value -s UUID' to print the universally unique identifier for a device; this may be used with UUID= as a more robust way to name devices that works even if disks are added and removed. See fstab(5).....
How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days. This is what i got from internet souce but i m not able to modify it according to my distribution. find /etc -perm -0070 -a -mtime +X ! -type l?print Here is the exact statement from link i m referring to.